3.19.61 \(\int \frac {(a d e+(c d^2+a e^2) x+c d e x^2)^3}{(d+e x)^8} \, dx\) [1861]

Optimal. Leaf size=35 \[ \frac {(a e+c d x)^4}{4 \left (c d^2-a e^2\right ) (d+e x)^4} \]

[Out]

1/4*(c*d*x+a*e)^4/(-a*e^2+c*d^2)/(e*x+d)^4

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {640, 37} \begin {gather*} \frac {(a e+c d x)^4}{4 (d+e x)^4 \left (c d^2-a e^2\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^3/(d + e*x)^8,x]

[Out]

(a*e + c*d*x)^4/(4*(c*d^2 - a*e^2)*(d + e*x)^4)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 640

Int[((d_) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[(d + e*x)^(m + p)*(a
/d + (c/e)*x)^p, x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - b*d*e + a*e^2, 0] &&
 IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^3}{(d+e x)^8} \, dx &=\int \frac {(a e+c d x)^3}{(d+e x)^5} \, dx\\ &=\frac {(a e+c d x)^4}{4 \left (c d^2-a e^2\right ) (d+e x)^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(100\) vs. \(2(35)=70\).
time = 0.03, size = 100, normalized size = 2.86 \begin {gather*} -\frac {a^3 e^6+a^2 c d e^4 (d+4 e x)+a c^2 d^2 e^2 \left (d^2+4 d e x+6 e^2 x^2\right )+c^3 d^3 \left (d^3+4 d^2 e x+6 d e^2 x^2+4 e^3 x^3\right )}{4 e^4 (d+e x)^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^3/(d + e*x)^8,x]

[Out]

-1/4*(a^3*e^6 + a^2*c*d*e^4*(d + 4*e*x) + a*c^2*d^2*e^2*(d^2 + 4*d*e*x + 6*e^2*x^2) + c^3*d^3*(d^3 + 4*d^2*e*x
 + 6*d*e^2*x^2 + 4*e^3*x^3))/(e^4*(d + e*x)^4)

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(140\) vs. \(2(33)=66\).
time = 0.69, size = 141, normalized size = 4.03

method result size
risch \(\frac {-\frac {c^{3} d^{3} x^{3}}{e}-\frac {3 c^{2} d^{2} \left (e^{2} a +c \,d^{2}\right ) x^{2}}{2 e^{2}}-\frac {d c \left (a^{2} e^{4}+a c \,d^{2} e^{2}+c^{2} d^{4}\right ) x}{e^{3}}-\frac {e^{6} a^{3}+e^{4} d^{2} a^{2} c +d^{4} e^{2} c^{2} a +d^{6} c^{3}}{4 e^{4}}}{\left (e x +d \right )^{4}}\) \(123\)
gosper \(-\frac {4 c^{3} d^{3} e^{3} x^{3}+6 a \,c^{2} d^{2} e^{4} x^{2}+6 c^{3} d^{4} e^{2} x^{2}+4 a^{2} c d \,e^{5} x +4 a \,c^{2} d^{3} e^{3} x +4 c^{3} d^{5} e x +e^{6} a^{3}+e^{4} d^{2} a^{2} c +d^{4} e^{2} c^{2} a +d^{6} c^{3}}{4 e^{4} \left (e x +d \right )^{4}}\) \(127\)
default \(-\frac {e^{6} a^{3}-3 e^{4} d^{2} a^{2} c +3 d^{4} e^{2} c^{2} a -d^{6} c^{3}}{4 e^{4} \left (e x +d \right )^{4}}-\frac {c d \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right )}{e^{4} \left (e x +d \right )^{3}}-\frac {c^{3} d^{3}}{e^{4} \left (e x +d \right )}-\frac {3 c^{2} d^{2} \left (e^{2} a -c \,d^{2}\right )}{2 e^{4} \left (e x +d \right )^{2}}\) \(141\)
norman \(\frac {-\frac {d^{3} \left (a^{3} e^{9}+a^{2} c \,d^{2} e^{7}+d^{4} c^{2} a \,e^{5}+c^{3} d^{6} e^{3}\right )}{4 e^{7}}-\frac {\left (a^{3} e^{9}+13 a^{2} c \,d^{2} e^{7}+31 d^{4} c^{2} a \,e^{5}+35 c^{3} d^{6} e^{3}\right ) x^{3}}{4 e^{4}}-e^{2} c^{3} d^{3} x^{6}-\frac {d \left (2 a^{2} c \,e^{7}+11 c^{2} d^{2} a \,e^{5}+17 c^{3} d^{4} e^{3}\right ) x^{4}}{2 e^{3}}-\frac {3 d \left (a^{3} e^{9}+5 a^{2} c \,d^{2} e^{7}+7 d^{4} c^{2} a \,e^{5}+7 c^{3} d^{6} e^{3}\right ) x^{2}}{4 e^{5}}-\frac {3 d^{2} \left (a \,c^{2} e^{5}+3 c^{3} d^{2} e^{3}\right ) x^{5}}{2 e^{2}}-\frac {d^{2} \left (3 a^{3} e^{9}+7 a^{2} c \,d^{2} e^{7}+7 d^{4} c^{2} a \,e^{5}+7 c^{3} d^{6} e^{3}\right ) x}{4 e^{6}}}{\left (e x +d \right )^{7}}\) \(301\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^3/(e*x+d)^8,x,method=_RETURNVERBOSE)

[Out]

-1/4*(a^3*e^6-3*a^2*c*d^2*e^4+3*a*c^2*d^4*e^2-c^3*d^6)/e^4/(e*x+d)^4-c*d/e^4*(a^2*e^4-2*a*c*d^2*e^2+c^2*d^4)/(
e*x+d)^3-c^3*d^3/e^4/(e*x+d)-3/2*c^2*d^2/e^4*(a*e^2-c*d^2)/(e*x+d)^2

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 146 vs. \(2 (34) = 68\).
time = 0.30, size = 146, normalized size = 4.17 \begin {gather*} -\frac {4 \, c^{3} d^{3} x^{3} e^{3} + c^{3} d^{6} + a c^{2} d^{4} e^{2} + a^{2} c d^{2} e^{4} + a^{3} e^{6} + 6 \, {\left (c^{3} d^{4} e^{2} + a c^{2} d^{2} e^{4}\right )} x^{2} + 4 \, {\left (c^{3} d^{5} e + a c^{2} d^{3} e^{3} + a^{2} c d e^{5}\right )} x}{4 \, {\left (x^{4} e^{8} + 4 \, d x^{3} e^{7} + 6 \, d^{2} x^{2} e^{6} + 4 \, d^{3} x e^{5} + d^{4} e^{4}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^3/(e*x+d)^8,x, algorithm="maxima")

[Out]

-1/4*(4*c^3*d^3*x^3*e^3 + c^3*d^6 + a*c^2*d^4*e^2 + a^2*c*d^2*e^4 + a^3*e^6 + 6*(c^3*d^4*e^2 + a*c^2*d^2*e^4)*
x^2 + 4*(c^3*d^5*e + a*c^2*d^3*e^3 + a^2*c*d*e^5)*x)/(x^4*e^8 + 4*d*x^3*e^7 + 6*d^2*x^2*e^6 + 4*d^3*x*e^5 + d^
4*e^4)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 149 vs. \(2 (34) = 68\).
time = 2.80, size = 149, normalized size = 4.26 \begin {gather*} -\frac {4 \, c^{3} d^{5} x e + c^{3} d^{6} + 4 \, a^{2} c d x e^{5} + a^{3} e^{6} + {\left (6 \, a c^{2} d^{2} x^{2} + a^{2} c d^{2}\right )} e^{4} + 4 \, {\left (c^{3} d^{3} x^{3} + a c^{2} d^{3} x\right )} e^{3} + {\left (6 \, c^{3} d^{4} x^{2} + a c^{2} d^{4}\right )} e^{2}}{4 \, {\left (x^{4} e^{8} + 4 \, d x^{3} e^{7} + 6 \, d^{2} x^{2} e^{6} + 4 \, d^{3} x e^{5} + d^{4} e^{4}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^3/(e*x+d)^8,x, algorithm="fricas")

[Out]

-1/4*(4*c^3*d^5*x*e + c^3*d^6 + 4*a^2*c*d*x*e^5 + a^3*e^6 + (6*a*c^2*d^2*x^2 + a^2*c*d^2)*e^4 + 4*(c^3*d^3*x^3
 + a*c^2*d^3*x)*e^3 + (6*c^3*d^4*x^2 + a*c^2*d^4)*e^2)/(x^4*e^8 + 4*d*x^3*e^7 + 6*d^2*x^2*e^6 + 4*d^3*x*e^5 +
d^4*e^4)

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 170 vs. \(2 (27) = 54\).
time = 46.34, size = 170, normalized size = 4.86 \begin {gather*} \frac {- a^{3} e^{6} - a^{2} c d^{2} e^{4} - a c^{2} d^{4} e^{2} - c^{3} d^{6} - 4 c^{3} d^{3} e^{3} x^{3} + x^{2} \left (- 6 a c^{2} d^{2} e^{4} - 6 c^{3} d^{4} e^{2}\right ) + x \left (- 4 a^{2} c d e^{5} - 4 a c^{2} d^{3} e^{3} - 4 c^{3} d^{5} e\right )}{4 d^{4} e^{4} + 16 d^{3} e^{5} x + 24 d^{2} e^{6} x^{2} + 16 d e^{7} x^{3} + 4 e^{8} x^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**3/(e*x+d)**8,x)

[Out]

(-a**3*e**6 - a**2*c*d**2*e**4 - a*c**2*d**4*e**2 - c**3*d**6 - 4*c**3*d**3*e**3*x**3 + x**2*(-6*a*c**2*d**2*e
**4 - 6*c**3*d**4*e**2) + x*(-4*a**2*c*d*e**5 - 4*a*c**2*d**3*e**3 - 4*c**3*d**5*e))/(4*d**4*e**4 + 16*d**3*e*
*5*x + 24*d**2*e**6*x**2 + 16*d*e**7*x**3 + 4*e**8*x**4)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 119 vs. \(2 (34) = 68\).
time = 1.70, size = 119, normalized size = 3.40 \begin {gather*} -\frac {{\left (4 \, c^{3} d^{3} x^{3} e^{3} + 6 \, c^{3} d^{4} x^{2} e^{2} + 4 \, c^{3} d^{5} x e + c^{3} d^{6} + 6 \, a c^{2} d^{2} x^{2} e^{4} + 4 \, a c^{2} d^{3} x e^{3} + a c^{2} d^{4} e^{2} + 4 \, a^{2} c d x e^{5} + a^{2} c d^{2} e^{4} + a^{3} e^{6}\right )} e^{\left (-4\right )}}{4 \, {\left (x e + d\right )}^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^3/(e*x+d)^8,x, algorithm="giac")

[Out]

-1/4*(4*c^3*d^3*x^3*e^3 + 6*c^3*d^4*x^2*e^2 + 4*c^3*d^5*x*e + c^3*d^6 + 6*a*c^2*d^2*x^2*e^4 + 4*a*c^2*d^3*x*e^
3 + a*c^2*d^4*e^2 + 4*a^2*c*d*x*e^5 + a^2*c*d^2*e^4 + a^3*e^6)*e^(-4)/(x*e + d)^4

________________________________________________________________________________________

Mupad [B]
time = 0.61, size = 102, normalized size = 2.91 \begin {gather*} -\frac {d\,\left (a^2\,c\,e\,x-a\,c^2\,e\,x^3\right )+\frac {a^3\,e^2}{4}+d^2\,\left (\frac {a^2\,c}{4}-\frac {c^3\,x^4}{4}\right )-\frac {a\,c^2\,e^2\,x^4}{4}}{d^4+4\,d^3\,e\,x+6\,d^2\,e^2\,x^2+4\,d\,e^3\,x^3+e^4\,x^4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(a*e^2 + c*d^2) + a*d*e + c*d*e*x^2)^3/(d + e*x)^8,x)

[Out]

-(d*(a^2*c*e*x - a*c^2*e*x^3) + (a^3*e^2)/4 + d^2*((a^2*c)/4 - (c^3*x^4)/4) - (a*c^2*e^2*x^4)/4)/(d^4 + e^4*x^
4 + 4*d*e^3*x^3 + 6*d^2*e^2*x^2 + 4*d^3*e*x)

________________________________________________________________________________________